package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.hangzhou.entity.AlertRecordSign;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * <p>
 * 设备报警标记 Mapper 接口
 * </p>
 *
 * @author zhangfei
 * @since 2022-12-02
 */
@Mapper
@Repository
public interface AlertRecordSignMapper extends BaseMapper<AlertRecordSign> {

    List<AlertRecordSign> selectListByTime(@Param("imei") String imei, @Param("endTime") String endTime,
                                           @Param("startTime") String startTime, @Param("eventId") String eventId
                                         , @Param("spId") String spId );

    List<AlertRecordSign> signSync();

}

